home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / wait4f.zip / WAIT4FIL.DOC < prev   
Text File  |  1991-12-05  |  2KB  |  44 lines

  1. WAIT4FIL - Utility
  2.  
  3. Key Words:  LAN UTILITY BATCH WAIT PAUSE FILE NETWORK DOS TIME MINUTE SECOND
  4.  
  5. Description:  This is a LAN utility. It's FUNCTION is USELESS unless 
  6.               operated on a LAN.
  7.  
  8.               Often, in corporate environments, one computer is assigned 
  9.               "one-particular-task" and nothing else. That one computer often 
  10.               waits and waits for a specific file to be copied or created on 
  11.               one of the shared disk drives.  When the file appears, that one 
  12.               computer begins it's processing of the file.
  13.  
  14.               This is a Network Friendly utility, meaning, when a Batch 
  15.               program enters a loop to repeated query the network every few 
  16.               clock ticks waiting looking for a file, this activity causes a 
  17.               GREAT AMOUNT OF NETWORK TRAFFIC! This utility is designed to 
  18.               dramatically reduce LAN traffic associated with this function.
  19.  
  20. ============== The below is displayed if the utility is =======================
  21. ============== run without command line parameters ============================
  22.  
  23.  LAN batch utility to wait for a specified file to appear. To reduce network 
  24.  traffic, the utility makes use of a PAUSE feature and only looks for the 
  25.  specified file every X seconds. After looking for a predetermined length of
  26.  of time (and not finding the specified file) the utility automatically aborts.
  27.  
  28.                 Syntax>     WAIT4FIL  filename  seconds  limit
  29.  
  30.     Filename: is the file (path optional) expected to appear (REQUIRED)
  31.  
  32.     Seconds:  is a value between 1 and 3,600 seconds (1 hour) to wait before
  33.               looking for the file again (Optional: Defaults to 60 seconds)
  34.  
  35.     Limit:    is a value between 1 and 86,400 seconds (24 hours) to continue
  36.               looking before giving-up and aborting the wait
  37.               (Optional: defaults to no limit)
  38.  
  39.  Notes: ■ The program stops and returns to DOS when the file appears
  40.         ■ The program stops and ERRORLEVEL 1 is set if LIMIT is reached
  41.         ■ The program stops and ERRORLEVEL 2 is set if an <ESC> is pressed
  42.  
  43. ======================== Screen reprint ======================================
  44.